/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mireille.learning.lesson1.interfacce;

/**
 *
 * @author Luca
 */
public class Studente extends Persona implements Universitario{

    
    private String universita;

    public Studente(String universita, String name) {
        super(name);
        this.universita = universita;
    }
    
    

    public void setUniversita(String universita) {
        this.universita = universita;
    }
    
    @Override
    public String frequenta() {
        return this.universita;
    }

    
}
